/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  cn.hutool.core.date.DateUtil
 *  cn.hutool.core.util.ObjectUtil
 *  cn.hutool.core.util.StrUtil
 *  com.alibaba.fastjson.JSON
 *  de.felixroske.jfxsupport.FXMLController
 *  javafx.collections.FXCollections
 *  javafx.collections.ObservableList
 *  javafx.event.EventHandler
 *  javafx.fxml.FXML
 *  javafx.fxml.Initializable
 *  javafx.scene.control.Alert
 *  javafx.scene.control.Alert$AlertType
 *  javafx.scene.control.ChoiceBox
 *  javafx.scene.control.ComboBox
 *  javafx.scene.control.DatePicker
 *  javafx.scene.control.ScrollPane
 *  javafx.scene.control.TableColumn
 *  javafx.scene.control.TableView
 *  javafx.scene.control.TextField
 *  javafx.scene.control.cell.PropertyValueFactory
 *  javafx.scene.input.KeyCode
 *  javafx.scene.input.KeyEvent
 *  javafx.scene.layout.VBox
 *  javafx.util.Callback
 *  javafx.util.StringConverter
 *  org.springframework.beans.factory.annotation.Autowired
 */
package com.gys.controller.rechargecard;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSON;
import com.gys.common.business.RechargeCardUtil;
import com.gys.common.business.SaleScheduleSettingUtil;
import com.gys.common.data.HttpJson;
import com.gys.common.data.KeyValue;
import com.gys.common.util.CacheUtil;
import com.gys.common.util.CommonUtil;
import com.gys.common.util.ConstUtil;
import com.gys.controller.BaseController;
import com.gys.controller.index.IndexController;
import com.gys.data.example.GetLoginStoreOutData;
import com.gys.data.example.GetUserOutData;
import com.gys.data.rechargecard.RchComsuType;
import com.gys.data.rechargecard.RechComsuInData;
import com.gys.data.rechargecard.RechComsuOutData;
import com.gys.data.saleScheduleSetting.GetSaleScheduleInData;
import de.felixroske.jfxsupport.FXMLController;
import java.net.URL;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Alert;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.ComboBox;
import javafx.scene.control.DatePicker;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.VBox;
import javafx.util.Callback;
import javafx.util.StringConverter;
import org.springframework.beans.factory.annotation.Autowired;

@FXMLController
public class RchComsuQueryController
extends BaseController
implements Initializable {
    private final int pageSize = ConstUtil.DEFAULT_PAGESIZE;
    private final int defaultPageCount = ConstUtil.DEFAULT_PAGECOUNT;
    private ObservableList<RechComsuOutData> observableTableList = FXCollections.observableArrayList(new ArrayList());
    @FXML
    private ScrollPane scrollPane;
    @FXML
    private VBox vBox;
    @FXML
    private TextField cardIdQuery;
    @FXML
    private ComboBox<KeyValue> empQuery;
    @FXML
    private TextField mobileQuery;
    @FXML
    private TextField nameQuery;
    @FXML
    private ChoiceBox<RchComsuType> typeQuery;
    @FXML
    private DatePicker dateQuery;
    @FXML
    private TableColumn<RechComsuOutData, String> index;
    @FXML
    private TableColumn<RechComsuOutData, String> cardNo;
    @FXML
    private TableColumn<RechComsuOutData, String> queryType;
    @FXML
    private TableColumn<RechComsuOutData, String> rechargeAmt;
    @FXML
    private TableColumn<RechComsuOutData, String> consumeAmt;
    @FXML
    private TableColumn<RechComsuOutData, String> name;
    @FXML
    private TableColumn<RechComsuOutData, String> sex;
    @FXML
    private TableColumn<RechComsuOutData, String> date;
    @FXML
    private TableColumn<RechComsuOutData, String> time;
    @FXML
    private TableColumn<RechComsuOutData, String> stoName;
    @FXML
    private TableColumn<RechComsuOutData, String> empName;
    @FXML
    private TableView<RechComsuOutData> tableView;
    @Autowired
    private IndexController indexController;
    private ObservableList<KeyValue> empOptions;

    public void initialize(URL location, ResourceBundle resources) {
        this.scrollPane.setPrefWidth(this.getContentWidth());
        this.scrollPane.setPrefHeight(this.getContentHeight());
        this.vBox.setPrefWidth(this.getContentWidth());
        this.vBox.setPrefHeight(this.getContentHeight());
        this.tableView.setPrefWidth(this.getContentWidth());
        StringConverter converter = CommonUtil.dataPickerFormat("yyyyMMdd");
        this.dateQuery.setConverter(converter);
        GetSaleScheduleInData inData = new GetSaleScheduleInData();
        inData.setClientId(((GetUserOutData)CacheUtil.get("logInUser")).getClient());
        inData.setGsegBrId(((GetLoginStoreOutData)CacheUtil.get("store")).getStoCode());
        HttpJson httpJson = SaleScheduleSettingUtil.queryUser(CommonUtil.convertToMap(inData));
        List<GetUserOutData> items = new ArrayList();
        if (!httpJson.isSuccess()) {
            Alert alert = this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", httpJson.getMsg());
            alert.showAndWait();
            return;
        }
        items = JSON.parseArray((String)httpJson.getMsg(), GetUserOutData.class);
        ArrayList<KeyValue> empOptionList = new ArrayList<KeyValue>();
        for (GetUserOutData item : items) {
            empOptionList.add(new KeyValue(item.getLoginName(), item.getUserId()));
        }
        this.empOptions = FXCollections.observableArrayList(empOptionList);
        this.empQuery.setItems(this.empOptions);
        this.comboxInit(this.empQuery);
        this.typeQuery.getItems().addAll(this.getAllRchComsuType());
        this.typeQuery.converterProperty().set(new StringConverter<RchComsuType>(){

            public String toString(RchComsuType object) {
                return object.getName();
            }

            public RchComsuType fromString(String string) {
                return null;
            }
        });
        this.init();
    }

    @Override
    public void init() {
        this.indexController.scrollContentPane.setOnKeyReleased((EventHandler)new EventHandler<KeyEvent>(){

            public void handle(KeyEvent e) {
                if (e.getCode() == KeyCode.ENTER) {
                    RchComsuQueryController.this.queryRechComsu();
                }
                e.consume();
            }
        });
    }

    public void comboxInit(ComboBox box) {
        box.converterProperty().set(new StringConverter<KeyValue>(){

            public String toString(KeyValue object) {
                return object.getName();
            }

            public KeyValue fromString(String string) {
                return null;
            }
        });
    }

    private List<RchComsuType> getAllRchComsuType() {
        ArrayList<RchComsuType> list = new ArrayList<RchComsuType>();
        list.add(new RchComsuType("1", "\u5145\u503c"));
        list.add(new RchComsuType("2", "\u6d88\u8d39"));
        return list;
    }

    @FXML
    private void queryRechComsu() {
        this.refreshTable();
    }

    private void refreshTable() {
        this.initTable();
    }

    private void bingTableCell() {
        this.index.setCellValueFactory((Callback)new PropertyValueFactory(this.index.getId()));
        this.cardNo.setCellValueFactory((Callback)new PropertyValueFactory(this.cardNo.getId()));
        this.queryType.setCellValueFactory((Callback)new PropertyValueFactory(this.queryType.getId()));
        this.rechargeAmt.setCellValueFactory((Callback)new PropertyValueFactory(this.rechargeAmt.getId()));
        this.sex.setCellValueFactory((Callback)new PropertyValueFactory(this.sex.getId()));
        this.name.setCellValueFactory((Callback)new PropertyValueFactory(this.name.getId()));
        this.date.setCellValueFactory((Callback)new PropertyValueFactory(this.date.getId()));
        this.time.setCellValueFactory((Callback)new PropertyValueFactory(this.time.getId()));
        this.stoName.setCellValueFactory((Callback)new PropertyValueFactory(this.stoName.getId()));
        this.empName.setCellValueFactory((Callback)new PropertyValueFactory(this.empName.getId()));
        this.consumeAmt.setCellValueFactory((Callback)new PropertyValueFactory(this.consumeAmt.getId()));
    }

    private TableView<RechComsuOutData> initTable() {
        List<RechComsuOutData> dataList;
        Alert alert = this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", null);
        RechComsuInData inData = new RechComsuInData();
        if (ObjectUtil.isNotNull(this.typeQuery.getValue())) {
            inData.setQueryType(((RchComsuType)this.typeQuery.getValue()).getCode());
        }
        inData.setName(this.nameQuery.getText());
        inData.setMobile(this.mobileQuery.getText());
        inData.setCardNo(this.cardIdQuery.getText());
        if (ObjectUtil.isNotNull(this.dateQuery.getValue())) {
            inData.setDate(DateUtil.format((Date)DateUtil.parse((String)((LocalDate)this.dateQuery.getValue()).toString()), (String)"yyyyMMdd"));
        }
        if (ObjectUtil.isNotNull(this.empQuery.getValue())) {
            inData.setEmp(((KeyValue)this.empQuery.getValue()).getValue());
        }
        if (StrUtil.isBlank((CharSequence)inData.getName()) && StrUtil.isBlank((CharSequence)inData.getMobile()) && StrUtil.isBlank((CharSequence)inData.getQueryType()) && StrUtil.isBlank((CharSequence)inData.getCardNo()) && StrUtil.isBlank((CharSequence)inData.getDate()) && StrUtil.isBlank((CharSequence)inData.getEmp())) {
            alert.setContentText("\u5fc5\u987b\u81f3\u5c11\u586b\u5199\u4e00\u9879\u5185\u5bb9\u8fdb\u884c\u67e5\u8be2\uff01");
            alert.showAndWait();
            return new TableView();
        }
        HttpJson rsp = RechargeCardUtil.getRchComsuList(inData);
        if (rsp.isSuccess()) {
            dataList = JSON.parseArray((String)rsp.getMsg(), RechComsuOutData.class);
            for (RechComsuOutData data : dataList) {
                if ("1".equals(data.getSex())) {
                    data.setSex("\u7537");
                    continue;
                }
                data.setSex("\u5973");
            }
        } else {
            alert.setContentText(rsp.getMsg());
            alert.showAndWait();
            return new TableView();
        }
        this.observableTableList.clear();
        this.observableTableList = FXCollections.observableArrayList((Collection)dataList);
        this.bingTableCell();
        this.tableView.setItems(this.observableTableList);
        return this.tableView;
    }

    @FXML
    private void reset() {
        this.nameQuery.clear();
        this.mobileQuery.clear();
        this.typeQuery.setValue(null);
        this.cardIdQuery.clear();
        this.dateQuery.setValue(null);
        this.empQuery.setValue(null);
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public int getDefaultPageCount() {
        return this.defaultPageCount;
    }

    public ObservableList<RechComsuOutData> getObservableTableList() {
        return this.observableTableList;
    }

    public ScrollPane getScrollPane() {
        return this.scrollPane;
    }

    public VBox getVBox() {
        return this.vBox;
    }

    public TextField getCardIdQuery() {
        return this.cardIdQuery;
    }

    public ComboBox<KeyValue> getEmpQuery() {
        return this.empQuery;
    }

    public TextField getMobileQuery() {
        return this.mobileQuery;
    }

    public TextField getNameQuery() {
        return this.nameQuery;
    }

    public ChoiceBox<RchComsuType> getTypeQuery() {
        return this.typeQuery;
    }

    public DatePicker getDateQuery() {
        return this.dateQuery;
    }

    public TableColumn<RechComsuOutData, String> getIndex() {
        return this.index;
    }

    public TableColumn<RechComsuOutData, String> getCardNo() {
        return this.cardNo;
    }

    public TableColumn<RechComsuOutData, String> getQueryType() {
        return this.queryType;
    }

    public TableColumn<RechComsuOutData, String> getRechargeAmt() {
        return this.rechargeAmt;
    }

    public TableColumn<RechComsuOutData, String> getConsumeAmt() {
        return this.consumeAmt;
    }

    public TableColumn<RechComsuOutData, String> getName() {
        return this.name;
    }

    public TableColumn<RechComsuOutData, String> getSex() {
        return this.sex;
    }

    public TableColumn<RechComsuOutData, String> getDate() {
        return this.date;
    }

    public TableColumn<RechComsuOutData, String> getTime() {
        return this.time;
    }

    public TableColumn<RechComsuOutData, String> getStoName() {
        return this.stoName;
    }

    public TableColumn<RechComsuOutData, String> getEmpName() {
        return this.empName;
    }

    public TableView<RechComsuOutData> getTableView() {
        return this.tableView;
    }

    public IndexController getIndexController() {
        return this.indexController;
    }

    public ObservableList<KeyValue> getEmpOptions() {
        return this.empOptions;
    }

    public void setObservableTableList(ObservableList<RechComsuOutData> observableTableList) {
        this.observableTableList = observableTableList;
    }

    public void setScrollPane(ScrollPane scrollPane) {
        this.scrollPane = scrollPane;
    }

    public void setVBox(VBox vBox) {
        this.vBox = vBox;
    }

    public void setCardIdQuery(TextField cardIdQuery) {
        this.cardIdQuery = cardIdQuery;
    }

    public void setEmpQuery(ComboBox<KeyValue> empQuery) {
        this.empQuery = empQuery;
    }

    public void setMobileQuery(TextField mobileQuery) {
        this.mobileQuery = mobileQuery;
    }

    public void setNameQuery(TextField nameQuery) {
        this.nameQuery = nameQuery;
    }

    public void setTypeQuery(ChoiceBox<RchComsuType> typeQuery) {
        this.typeQuery = typeQuery;
    }

    public void setDateQuery(DatePicker dateQuery) {
        this.dateQuery = dateQuery;
    }

    public void setIndex(TableColumn<RechComsuOutData, String> index) {
        this.index = index;
    }

    public void setCardNo(TableColumn<RechComsuOutData, String> cardNo) {
        this.cardNo = cardNo;
    }

    public void setQueryType(TableColumn<RechComsuOutData, String> queryType) {
        this.queryType = queryType;
    }

    public void setRechargeAmt(TableColumn<RechComsuOutData, String> rechargeAmt) {
        this.rechargeAmt = rechargeAmt;
    }

    public void setConsumeAmt(TableColumn<RechComsuOutData, String> consumeAmt) {
        this.consumeAmt = consumeAmt;
    }

    public void setName(TableColumn<RechComsuOutData, String> name) {
        this.name = name;
    }

    public void setSex(TableColumn<RechComsuOutData, String> sex) {
        this.sex = sex;
    }

    public void setDate(TableColumn<RechComsuOutData, String> date) {
        this.date = date;
    }

    public void setTime(TableColumn<RechComsuOutData, String> time) {
        this.time = time;
    }

    public void setStoName(TableColumn<RechComsuOutData, String> stoName) {
        this.stoName = stoName;
    }

    public void setEmpName(TableColumn<RechComsuOutData, String> empName) {
        this.empName = empName;
    }

    public void setTableView(TableView<RechComsuOutData> tableView) {
        this.tableView = tableView;
    }

    public void setIndexController(IndexController indexController) {
        this.indexController = indexController;
    }

    public void setEmpOptions(ObservableList<KeyValue> empOptions) {
        this.empOptions = empOptions;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof RchComsuQueryController)) {
            return false;
        }
        RchComsuQueryController other = (RchComsuQueryController)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (this.getPageSize() != other.getPageSize()) {
            return false;
        }
        if (this.getDefaultPageCount() != other.getDefaultPageCount()) {
            return false;
        }
        ObservableList<RechComsuOutData> this$observableTableList = this.getObservableTableList();
        ObservableList<RechComsuOutData> other$observableTableList = other.getObservableTableList();
        if (this$observableTableList == null ? other$observableTableList != null : !this$observableTableList.equals(other$observableTableList)) {
            return false;
        }
        ScrollPane this$scrollPane = this.getScrollPane();
        ScrollPane other$scrollPane = other.getScrollPane();
        if (this$scrollPane == null ? other$scrollPane != null : !this$scrollPane.equals(other$scrollPane)) {
            return false;
        }
        VBox this$vBox = this.getVBox();
        VBox other$vBox = other.getVBox();
        if (this$vBox == null ? other$vBox != null : !this$vBox.equals(other$vBox)) {
            return false;
        }
        TextField this$cardIdQuery = this.getCardIdQuery();
        TextField other$cardIdQuery = other.getCardIdQuery();
        if (this$cardIdQuery == null ? other$cardIdQuery != null : !this$cardIdQuery.equals(other$cardIdQuery)) {
            return false;
        }
        ComboBox<KeyValue> this$empQuery = this.getEmpQuery();
        ComboBox<KeyValue> other$empQuery = other.getEmpQuery();
        if (this$empQuery == null ? other$empQuery != null : !this$empQuery.equals(other$empQuery)) {
            return false;
        }
        TextField this$mobileQuery = this.getMobileQuery();
        TextField other$mobileQuery = other.getMobileQuery();
        if (this$mobileQuery == null ? other$mobileQuery != null : !this$mobileQuery.equals(other$mobileQuery)) {
            return false;
        }
        TextField this$nameQuery = this.getNameQuery();
        TextField other$nameQuery = other.getNameQuery();
        if (this$nameQuery == null ? other$nameQuery != null : !this$nameQuery.equals(other$nameQuery)) {
            return false;
        }
        ChoiceBox<RchComsuType> this$typeQuery = this.getTypeQuery();
        ChoiceBox<RchComsuType> other$typeQuery = other.getTypeQuery();
        if (this$typeQuery == null ? other$typeQuery != null : !this$typeQuery.equals(other$typeQuery)) {
            return false;
        }
        DatePicker this$dateQuery = this.getDateQuery();
        DatePicker other$dateQuery = other.getDateQuery();
        if (this$dateQuery == null ? other$dateQuery != null : !this$dateQuery.equals(other$dateQuery)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$index = this.getIndex();
        TableColumn<RechComsuOutData, String> other$index = other.getIndex();
        if (this$index == null ? other$index != null : !this$index.equals(other$index)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$cardNo = this.getCardNo();
        TableColumn<RechComsuOutData, String> other$cardNo = other.getCardNo();
        if (this$cardNo == null ? other$cardNo != null : !this$cardNo.equals(other$cardNo)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$queryType = this.getQueryType();
        TableColumn<RechComsuOutData, String> other$queryType = other.getQueryType();
        if (this$queryType == null ? other$queryType != null : !this$queryType.equals(other$queryType)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$rechargeAmt = this.getRechargeAmt();
        TableColumn<RechComsuOutData, String> other$rechargeAmt = other.getRechargeAmt();
        if (this$rechargeAmt == null ? other$rechargeAmt != null : !this$rechargeAmt.equals(other$rechargeAmt)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$consumeAmt = this.getConsumeAmt();
        TableColumn<RechComsuOutData, String> other$consumeAmt = other.getConsumeAmt();
        if (this$consumeAmt == null ? other$consumeAmt != null : !this$consumeAmt.equals(other$consumeAmt)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$name = this.getName();
        TableColumn<RechComsuOutData, String> other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$sex = this.getSex();
        TableColumn<RechComsuOutData, String> other$sex = other.getSex();
        if (this$sex == null ? other$sex != null : !this$sex.equals(other$sex)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$date = this.getDate();
        TableColumn<RechComsuOutData, String> other$date = other.getDate();
        if (this$date == null ? other$date != null : !this$date.equals(other$date)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$time = this.getTime();
        TableColumn<RechComsuOutData, String> other$time = other.getTime();
        if (this$time == null ? other$time != null : !this$time.equals(other$time)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$stoName = this.getStoName();
        TableColumn<RechComsuOutData, String> other$stoName = other.getStoName();
        if (this$stoName == null ? other$stoName != null : !this$stoName.equals(other$stoName)) {
            return false;
        }
        TableColumn<RechComsuOutData, String> this$empName = this.getEmpName();
        TableColumn<RechComsuOutData, String> other$empName = other.getEmpName();
        if (this$empName == null ? other$empName != null : !this$empName.equals(other$empName)) {
            return false;
        }
        TableView<RechComsuOutData> this$tableView = this.getTableView();
        TableView<RechComsuOutData> other$tableView = other.getTableView();
        if (this$tableView == null ? other$tableView != null : !this$tableView.equals(other$tableView)) {
            return false;
        }
        IndexController this$indexController = this.getIndexController();
        IndexController other$indexController = other.getIndexController();
        if (this$indexController == null ? other$indexController != null : !(this$indexController).equals(other$indexController)) {
            return false;
        }
        ObservableList<KeyValue> this$empOptions = this.getEmpOptions();
        ObservableList<KeyValue> other$empOptions = other.getEmpOptions();
        return !(this$empOptions == null ? other$empOptions != null : !this$empOptions.equals(other$empOptions));
    }

    protected boolean canEqual(Object other) {
        return other instanceof RchComsuQueryController;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        result = result * 59 + this.getPageSize();
        result = result * 59 + this.getDefaultPageCount();
        ObservableList<RechComsuOutData> $observableTableList = this.getObservableTableList();
        result = result * 59 + ($observableTableList == null ? 43 : $observableTableList.hashCode());
        ScrollPane $scrollPane = this.getScrollPane();
        result = result * 59 + ($scrollPane == null ? 43 : $scrollPane.hashCode());
        VBox $vBox = this.getVBox();
        result = result * 59 + ($vBox == null ? 43 : $vBox.hashCode());
        TextField $cardIdQuery = this.getCardIdQuery();
        result = result * 59 + ($cardIdQuery == null ? 43 : $cardIdQuery.hashCode());
        ComboBox<KeyValue> $empQuery = this.getEmpQuery();
        result = result * 59 + ($empQuery == null ? 43 : $empQuery.hashCode());
        TextField $mobileQuery = this.getMobileQuery();
        result = result * 59 + ($mobileQuery == null ? 43 : $mobileQuery.hashCode());
        TextField $nameQuery = this.getNameQuery();
        result = result * 59 + ($nameQuery == null ? 43 : $nameQuery.hashCode());
        ChoiceBox<RchComsuType> $typeQuery = this.getTypeQuery();
        result = result * 59 + ($typeQuery == null ? 43 : $typeQuery.hashCode());
        DatePicker $dateQuery = this.getDateQuery();
        result = result * 59 + ($dateQuery == null ? 43 : $dateQuery.hashCode());
        TableColumn<RechComsuOutData, String> $index = this.getIndex();
        result = result * 59 + ($index == null ? 43 : $index.hashCode());
        TableColumn<RechComsuOutData, String> $cardNo = this.getCardNo();
        result = result * 59 + ($cardNo == null ? 43 : $cardNo.hashCode());
        TableColumn<RechComsuOutData, String> $queryType = this.getQueryType();
        result = result * 59 + ($queryType == null ? 43 : $queryType.hashCode());
        TableColumn<RechComsuOutData, String> $rechargeAmt = this.getRechargeAmt();
        result = result * 59 + ($rechargeAmt == null ? 43 : $rechargeAmt.hashCode());
        TableColumn<RechComsuOutData, String> $consumeAmt = this.getConsumeAmt();
        result = result * 59 + ($consumeAmt == null ? 43 : $consumeAmt.hashCode());
        TableColumn<RechComsuOutData, String> $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        TableColumn<RechComsuOutData, String> $sex = this.getSex();
        result = result * 59 + ($sex == null ? 43 : $sex.hashCode());
        TableColumn<RechComsuOutData, String> $date = this.getDate();
        result = result * 59 + ($date == null ? 43 : $date.hashCode());
        TableColumn<RechComsuOutData, String> $time = this.getTime();
        result = result * 59 + ($time == null ? 43 : $time.hashCode());
        TableColumn<RechComsuOutData, String> $stoName = this.getStoName();
        result = result * 59 + ($stoName == null ? 43 : $stoName.hashCode());
        TableColumn<RechComsuOutData, String> $empName = this.getEmpName();
        result = result * 59 + ($empName == null ? 43 : $empName.hashCode());
        TableView<RechComsuOutData> $tableView = this.getTableView();
        result = result * 59 + ($tableView == null ? 43 : $tableView.hashCode());
        IndexController $indexController = this.getIndexController();
        result = result * 59 + ($indexController == null ? 43 : ($indexController).hashCode());
        ObservableList<KeyValue> $empOptions = this.getEmpOptions();
        result = result * 59 + ($empOptions == null ? 43 : $empOptions.hashCode());
        return result;
    }

    public String toString() {
        return "RchComsuQueryController(pageSize=" + this.getPageSize() + ", defaultPageCount=" + this.getDefaultPageCount() + ", observableTableList=" + this.getObservableTableList() + ", scrollPane=" + this.getScrollPane() + ", vBox=" + this.getVBox() + ", cardIdQuery=" + this.getCardIdQuery() + ", empQuery=" + this.getEmpQuery() + ", mobileQuery=" + this.getMobileQuery() + ", nameQuery=" + this.getNameQuery() + ", typeQuery=" + this.getTypeQuery() + ", dateQuery=" + this.getDateQuery() + ", index=" + this.getIndex() + ", cardNo=" + this.getCardNo() + ", queryType=" + this.getQueryType() + ", rechargeAmt=" + this.getRechargeAmt() + ", consumeAmt=" + this.getConsumeAmt() + ", name=" + this.getName() + ", sex=" + this.getSex() + ", date=" + this.getDate() + ", time=" + this.getTime() + ", stoName=" + this.getStoName() + ", empName=" + this.getEmpName() + ", tableView=" + this.getTableView() + ", indexController=" + this.getIndexController() + ", empOptions=" + this.getEmpOptions() + ")";
    }
}

